<template>
<web-view :src="path"></web-view>
</template>

<script>
	export default {
		data() {
			return {
				path: ''
			}
		},
		onLoad(options) {
			 console.log("options.webview");
		    console.log(options.webview);
			console.log(options.lxzt);
			if(options.lxzt==0){
				this. path = getApp().globalData.host+'?m=ying&d=we&num='+options.webview+'&adminid='+uni.getStorageSync('zyqadminid')+'&token='+uni.getStorageSync('zyqtoken');
				 console.log(this. path);
			}else if(options.lxzt==3){
				this.path =decodeURIComponent(options.webview);
				 console.log(this. path);
			}else{
				this. path = getApp().globalData.host+decodeURIComponent(options.webview)+'&adminid='+uni.getStorageSync('zyqadminid')+'&token='+uni.getStorageSync('zyqtoken');
				 console.log(this. path);
			}

		},
		methods: {
			
		},
		
	}

</script>

<style>

</style>
